<template>
    <van-button type="primary" @click="stest">主要按钮</van-button>
    <van-button type="success">成功按钮</van-button>
    <van-button type="default">默认按钮</van-button>
    <van-button type="warning">警告按钮</van-button>
    <van-button type="danger">危险按钮</van-button>

</template>

<script >

import { showToast } from 'vant';


function stest()
{
    showToast('提示内容');
}

</script>